package com.yxhl.zoume.data.http.repository.usercenter;

import com.yxhl.zoume.data.http.rest.param.feedback.FeedbackParam;
import com.yxhl.zoume.data.http.rest.param.usercenter.LogoutParam;
import com.yxhl.zoume.data.http.rest.response.feedback.FeedbackResponse;
import com.yxhl.zoume.data.http.rest.response.usercenter.LogoutResponse;

import rx.Observable;

/**
 * 个人中心
 * Created by vhawk on 16/4/12.
 */
public interface UserCenterRepository {

    /**
     * 退出登录
     *
     * @param logoutParam
     * @return
     */
    Observable<LogoutResponse> logout(LogoutParam logoutParam);

    /**
     * 意见反馈
     * @param param
     * @return
     */
    Observable<FeedbackResponse> commitFeedback (FeedbackParam param);
}
